<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  class Gantt_chart_m extends CI_Model {
      
      
        function get() {
           $q = $this->db->get('event');
           if($q->num_rows() > 0){
               return $q->result_array();
           }else{
               return false;
           }
        }
        function get_gantt_details($id){
         $this->db->where('event_id',$id);
         return $this->db->get('event');
        }
    }